<?php
/*class controller for Home page
 *
 */
class Home extends Controller {

        //function __construct()
        function Home()
        {
                parent::Controller();
        }

        function index()
        {
                $data = array();
                //Load the PetPage model
                $this->load->model('PetPage'); //Home
                //Call the Frontpage_info method
                $this->PetPage->FrontPage_info();
                //Put the returned data into an array
                $data = array();
                //Load the home page(front page) and send the $data to it
                $this->load->view('Home', $data);
        }



}
?>
